package com.xcity.game.combat.listener;

import com.xcity.game.combat.Combat;
import com.xcity.game.combat.CombatException;
import com.xcity.game.combat.CombatService;
import com.xcity.pomelo.request.CombatInfoRequest;
import com.xcity.pomelo.response.CombatResponse;

import naga.x.net.Packet;
import naga.x.net.Session;

public interface CombatListener extends RoundListener {
	void prepareCombat(Session session, CombatInfoRequest packet) throws CombatException;
	CombatResponse create(CombatService service, Combat.Type type, Session session, Packet packet) throws CombatException;
	void end(Combat combat, boolean notify);
}
